package cn.edu.ujn.finaltest.dao;

import java.util.List;


import org.apache.ibatis.annotations.Param;

import cn.edu.ujn.finaltest.dao.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer user_id);

    int insert(User row);

    int insertSelective(User row);

    User selectByPrimaryKey(Integer user_id);

    int updateByPrimaryKeySelective(User row);

    int updateByPrimaryKey(User row);
    
    public User selectByCodePwd(@Param("usercode") String usercode, @Param("password") String password);
    
    
  //查询用户列表
    public List<User> findAll(User user);
    
    //查询用户总数
    public int selectUserListCount(User user);
    
    
}